SQLAlchemy query to dict

45

SQLAlchemy query to dict -

for u in session.query(User).all():
    print u.__dict__

Comments

Submit
0 Comments